package shape;

import net.jcip.annotations.Immutable;

@Immutable
public abstract class AbstractShapeDecorator implements Shape {

	protected final Shape decoratedShape;
	
	public AbstractShapeDecorator(final Shape decoratedShape) {
		this.decoratedShape = decoratedShape;
	}
	
	@Override
	public void draw() {
		decoratedShape.draw();
	}
}
